﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Gerenciador/Gerenciador.Master" AutoEventWireup="true" CodeBehind="formAgenda.aspx.cs" Inherits="CasaisEmEdificacao.Gerenciador.agenda.formAgenda" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="titulo" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="script" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="modulo" runat="server">
    Madulo Agenda
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pagina" runat="server">
    Formulário Agenda
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="acoesModulo" runat="server">
    <h1>
        <asp:HyperLink ID="linkListarAgenda" NavigateUrl="~/Gerenciador/agenda/index.aspx"  runat="server">Listar agendas</asp:HyperLink>
    </h1>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="conteudo" runat="server">
    <asp:Label ID="lblTituloForm" runat="server" Text="Formulário" CssClass="lblTituloForm"></asp:Label>
    <hr class="linhaHrTitulo"/>
    <asp:HiddenField ID="txtCodAgenda" runat="server" />
    <table>
        <tr>
            <td>
                <asp:Label ID="lblTitulo" runat="server" Text="Título" CssClass="LblForm"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:TextBox ID="txtTitulo" MaxLength="255" runat="server" Width="750"></asp:TextBox>
            </td>
        </tr>
        <tr><td><br /></td></tr>
        <tr>
            <td>
                <asp:Label ID="lblDataAgenda" runat="server" Text="Data da Agenda" CssClass="LblForm"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                
                <asp:TextBox ID="dtAgenta" runat="server"></asp:TextBox>
                <asp:Image ID="imgCalendarioPublicacao" ImageUrl="~/Gerenciador/common/img/imgCalendar.jpg" runat="server" />
                <asp:CalendarExtender ID="CalendarExtender1" Format="dd/MM/yyyy" TargetControlID="dtAgenta" PopupButtonID="imgCalendarioPublicacao" runat="server">
                </asp:CalendarExtender>
            </td>
        </tr>
        <tr><td><br /></td></tr>
        <tr>
            <td>
                <asp:Label ID="lblDescricao" runat="server" Text="Descrição da Agenda" CssClass="LblForm"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:TextBox ID="txtDescricao" TextMode="MultiLine" MaxLength="500" runat="server" Rows="6" Width="750"></asp:TextBox>
            </td>
        </tr>
        <tr><td><br /></td></tr>
        <tr>
            <td align="right">
                <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" 
                    onclick="btnCancelar_Click" />
                <asp:Button ID="btnEditar" runat="server" Text="Editar" 
                    onclick="btnEditar_Click" />
                <asp:Button ID="btnSalvar" runat="server" Text="Salvar" 
                    onclick="btnSalvar_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
